package model

import (
	"time"
)

const SettingPowerName = "setting_power"

type SettingPower struct {
	Id     int               `json:"id" orm:"auto" sql:"INT"`
	Key    string            `json:"key" sql:"VARCHAR"`
	UnitId int               `json:"unit_id" sql:"INT"`
	Name   map[string]string `json:"name" sql:"JSON"`
	Desc   map[string]string `json:"desc" sql:"JSON"`
	Icon   string            `json:"icon" sql:"VARCHAR"`

	Level int `json:"level" sql:"TINYINT"`

	UpdateTime *time.Time `json:"update_time" orm:"updateTime" sql:"DATETIME"`
}
